.login.login-1 .login-signin,
.login.login-1 .login-signup,
.login.login-1 .login-forgot {
    display: none;
}

.login.login-1.login-signin-on .login-signup {
    display: none;
}

.login.login-1.login-signin-on .login-signin {
    display: block;
}

.login.login-1.login-signin-on .login-forgot {
    display: none;
}

.login.login-1.login-signup-on .login-signup {
    display: block;
}

.login.login-1.login-signup-on .login-signin {
    display: none;
}

.login.login-1.login-signup-on .login-forgot {
    display: none;
}

.login.login-1.login-forgot-on .login-signup {
    display: none;
}

.login.login-1.login-forgot-on .login-signin {
    display: none;
}

.login.login-1.login-forgot-on .login-forgot {
    display: block;
}

@media (max-width: 991.98px) {
    .login.login-1 .login-content .login-form {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 575.98px) {
    .login.login-1 .aside-img {
        min-height: 300px !important;
        background-size: 400px;
    }
    .login.login-1 .login-content .login-form {
        width: 100%;
        max-width: 100%;
    }
}

.has-danger .form-control-feedback {
    color: #fd397a;
    margin-top: 0.2rem;
    font-size: 0.85rem;
    text-align: left;
}

ul.text-danger {
    list-style: none;
    color: #f4516c;
    margin-top: 0.2rem;
    font-size: 0.85rem;
    text-align: left;
    padding-left: 0;
}

.captcha-container {
    margin: auto;
    width: 70%;
}

/*** 2021.11.29 ***/
.p-login {
    width: 100%;
    height: 100vh;
    background: url('/assets/common/images/login/PalomaRincon.jpg') no-repeat center center #f4f4f4 ;
    background-size: cover;
    position: relative;
    overflow: hidden;
}
.login-wrap{
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    overflow-y: auto;
    background-color: rgba(0,0,0,.5);
    -webkit-overflow-scrolling: touch;
}
.login{
    display: -ms-grid;
    display: grid;
    position: relative;
    -ms-grid-rows: 60px min-content minmax(min-content,1fr) minmax(35px,min-content);
    grid-template-rows: 60px -webkit-min-content minmax(-webkit-min-content,1fr) minmax(35px,-webkit-min-content);
    grid-template-rows: 60px min-content minmax(min-content,1fr) minmax(35px,min-content);
    -ms-grid-columns: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    min-height: 100%;
}
.Canvas-Grid{
    display: block;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: #fff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    padding-left: 17px;
    padding-right: 14px;
    position: relative;

    .Canvas-Context{
        display: none;
        -ms-grid-row: 1;
        grid-row: 1;
        -ms-grid-column: 3;
        -ms-grid-column-span: 7;
        grid-column: 2/6;
    }
    .Canvas-Panel{
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        width: 100%;
        -ms-grid-column: 1;
        -ms-grid-column-span: 23;
        grid-column: 1/13;
        -ms-grid-row: 1;
        grid-row: 1;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -moz-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin: 0 auto;
    }
}
.Canvas-Layout{ 
    .Canvas-Grid {
        -ms-grid-row: 1;
        -ms-grid-row-span: 4;
        grid-row: 1/5;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
        grid-column: 1/4;
    }
    .Canvas-Attribution {
        position: relative;
        -ms-grid-row: 4;
        -ms-grid-row-span: 0;
        grid-row: 4/4;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        grid-column: 1/2;

        .hd{
            font-size: 14px;
            line-height: 1.5;
            color: #fff;
            white-space: nowrap;
            padding: 0 0 12px 16px;
            font-family: 'Arial';
            display: flex;
            display: -webkit-flex;
            align-items: center;
        }
        .btn-help{
            height: 1em;
            display: block;
            padding: 0 5px;
            cursor: pointer;
            position: relative;

            .icon{
                width: 1em;
                height: 1em;
                display: block;
                border-radius: 100%;
                background: #fff;
                line-height: 1em;
                color: #000;
                text-align: center;
                opacity: .8;

                &::before{
                    font-size: .5em;
                }
            }

            .bi{
                width: 1em;
                height: 1em;
                display: block;
                line-height: 1em;
                color: #fff;
            }
        }
        
        .dropbox{
            position: absolute;
            left: 50%;
            bottom: 100%;
            padding-bottom: 20px;
            z-index: 20;
            transform: translateX(-50%);
            -webkit-transform: translateX(-50%);

            &::after{
                content: '';
                display: block;
                width: 0;
                height: 0;
                border: 10px solid transparent;
                border-top-color: rgba(0,0,0,.8);
                position: absolute;
                left: 50%;
                bottom: 0;
                transform: translateX(-50%);
                -webkit-transform: translateX(-50%);
            }

            .cont{
                display: block;
                font-size: 14px;
                line-height: 1.5em;
                color: #fff;
                background-color: rgba(0,0,0,.8);
                padding: .8rem 1rem; 

                p{
                    margin: 0;
                }
            }
        }
    }

    &.Canvas-Layout--only-grid {
        .Canvas-Grid{
            -ms-grid-row: 1;
            -ms-grid-row-span: 4;
            grid-row: 1/5;
        }
    }
}
.login-aside{
    font-size: 16px;
    line-height: 24px;
    color: #fff;

    .logo{
        width: 19.7rem;
        max-width: 100%;
        // margin-bottom: 20px;
        // padding-bottom: 20px;
        margin-bottom: 1.25rem;
        padding-bottom: 1.25rem;
        border-bottom: solid 1px rgba(255,255,255,.5);
        display: block;;

        img{
            width: 100%;
            display: block;
        }
    }
    .word{
        margin: 0;
    }
}
.login-formbox {
    background: #fff;
    border-radius: 4px;
    border: 1px solid hsla(0,0%,100%,0);
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-height: 100%;
    padding: 24px 0 40px;
    position: relative;
}

@media screen and (min-width: 510px) {
    .login{
        -ms-grid-columns: 1fr minmax(-webkit-min-content,1280px) 1fr;
        -ms-grid-columns: 1fr minmax(min-content,1280px) 1fr;
        grid-template-columns: 1fr minmax(-webkit-min-content,1280px) 1fr;
        grid-template-columns: 1fr minmax(min-content,1280px) 1fr;
    }
    .Canvas-Grid{
        -webkit-box-align: center;
        -webkit-align-items: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        background: rgba(0,0,0,0);
        margin: 0 auto;
        padding-left: 0;
        padding-right: 0;

        .Canvas-Panel {
            height: 100%;
            width: 100%;
            width: 510px;
        }
    }
    .Canvas-Layout{
        .Canvas-Grid {
            -ms-grid-column: 2;
            -ms-grid-column-span: 1;
            grid-column: 2/3;
        }
    } 
    .CardLayout-Container{
        padding: 16px 0;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -moz-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .login-formbox{
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        // min-height: 630px;
        padding: 60px;
        border-radius: 50px;
    }
}
@media screen and (min-width: 1024px) {
    .login-formbox{
        // padding: 60px;
        padding: 3.75rem;
    }
}
@media screen and (min-width: 1280px) {
    .Canvas-Grid {
        display: -ms-grid;
        display: grid;
        -ms-grid-rows: 1fr;
        grid-template-rows: 1fr;
        -ms-grid-columns: 1fr 32px 1fr 32px 1fr 32px 1fr 32px 1fr 32px 1fr 32px 1fr 32px 1fr 32px 1fr 32px 1fr 32px 1fr 32px 1fr;
        grid-template-columns: repeat(12,1fr);
        grid-gap: 0 32px;
        gap: 0 32px;

        .Canvas-Context{
            display: block;
        }

        .Canvas-Panel {
            -webkit-box-pack: center;
            -webkit-justify-content: center;
            -moz-box-pack: center;
            -ms-flex-pack: center;
            justify-content: center;
            -ms-grid-column: 13;
            -ms-grid-column-span: 9;
            grid-column: 7/12;
        }
    }
    .login-aside{
        font-size: 20px;
        line-height: 1em;
        font-weight: normal;
        color: #fff;

        .word{
            font-size: 1.25rem;
            line-height: 1em;
            font-weight: normal;
            color: #fff;
        }
    }
}
@media screen and (min-width: 1768px){
    .Canvas-Grid {
        -ms-grid-columns: 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr 40px 1fr;
        grid-template-columns: repeat(12,1fr);
        grid-gap: 0 40px;
        gap: 0 40px;
    }
}

//--

.login__options {
    a {
        cursor: pointer;
        
        i.fa-openidconnect {
            width: 16px;
            height: 16px;

            &::before{
                content: "\f19b";
            }
        }

        i.fa-wsfederation {
            width: 16px;
            height: 16px;
            margin-right: 2px;

            &::before{
                content: "\f20e";
            }
        }
    }
}

/**** 2021.1.29 ***/
.fmlogin-head {
    margin-bottom: 32px;

    .langlist{
        display: flex;
        display: -webkit-flex;
        align-items: center;
        -webkit-align-items: center;
        color: #505050;
        font-size: 16px;
        font-weight: 400;
        line-height: 27px;
        margin: 0 -10px;

        li{
            padding: 0 10px;

            &::after{
                content: '|';
                display: block;
                position: absolute;
                right: 0;
                top: 50%;
                transform: translateY(-50%);
                -webkit-transform: translateY(-50%);
            }

            &:last-child{
                &::after{
                    display: none;
                }
            }
        }
    }
}
.fmlogin-lvtit{
    font-size: 24px;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    font-weight: bold;

    img{
        height: 50px;
        display: block;
        margin: 0 10px 0 0;
    }
}
.control-label{
    font-size: .875rem;
    color: #747474;
    line-height: 1.5em;
    font-weight: normal !important;
    display: block;
    margin-bottom: 0;
}
.form-control{
    padding: 0.5rem .75rem;
    border: none;
    border-bottom: solid 1px #eaeaea;
    color: #505050;
}
.checkbox{
    margin: 0;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    cursor: pointer;
    font-size: .875rem;
    line-height: 1.5em;
    
    input{
        width: 1em;
        height: 1em;
        display: block;
    }
}
.frm-pswdbox{
    .box{
        width: 100%;
        position: relative;
    }
}
.btn-remember{
    padding: .5rem 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 20;
    line-height: 1.5rem;
}
.frm-handle{
    margin: 1.5rem 0;
    font-weight: normal;
}
.form-btnbox{
    .btn{
        border-width: 2px;
        border-style: solid;
        border-radius: 16px;
        min-height: 32px;
        height: auto;
        min-width: 72px;
        padding: 3.5px 14px 4.5px;
        font-size: 14px;
        font-weight: 700;
        width: auto;
    }
}
.frm-links{
    width: 100%;
    margin-top: 24px;

    .lvtit{
        width: 100%;
        position: relative;
        display: flex;
        display: -webkit-flex;
        align-items: center;
        text-align: center;
        color: #4b4b4b;
        font-size: 17px;
        font-weight: 300;
        line-height: 23px;
        margin-bottom: 20px;

        &::before, &::after{
            content: '';
            -webkit-box-flex: 1;
            -webkit-flex: 1;
            -moz-box-flex: 1;
            -ms-flex: 1;
            flex: 1;
            border-bottom: 1px solid #eaeaea;
        }
        &::before{
            margin-right: .5em;
        }
        &::after{
            margin-left: .5em;
        }
    }
    .links{
        li{
            margin-bottom: 16px;
        }
        a{
            width: 100%;
            display: flex;
            display: -webkit-flex;
            align-items: center;
            -webkit-align-items: center;
            justify-content: center;
            -webkit-justify-content: center;
            border-radius: 100px;
            border-width: 2px;
            color: #505050;
            font-weight: 700;
            height: auto;
            text-align: center;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
            padding: 15px;
            min-height: 56px;
            font-size: 16px;
            font-weight: 900;
            line-height: 24px;
            background-color: #fff;
            border: solid 2px #eaeaea;
            color: #505050;
            transition: all .15s ease-in-out;
            -webkit-transition: all .15s ease-in-out;
        }
        img{
            width: 24px;
            height: 24px;
            display: block;
            margin-right: 10px;
        }
        .item2{
            a{
                border-color: #1473e6;
                background-color: #1473e6;
                color: #fff;
            }
            img{
                -webkit-filter: brightness(0) invert(1);
                filter: brightness(0) invert(1);
            }

            &:hover{
                a{
                    background-color: #0069d9;
                    border-color: #0062cc;
                }
            }
        }
        .item3{
            a{
                background-color: #000;
                border-color: #000;
                color: #fff;
            }
            img{
                -webkit-filter: brightness(0) invert(1);
                filter: brightness(0) invert(1);
            }

            &:hover{
                a{
                    background-color: #333;
                    border-color: #333;
                }
            }
        }
    }
    .bot{
        display: flex;
        display: -webkit-flex;
        flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
        justify-content: center;
        font-size: .875rem;
        line-height: 1.5;
        color: #333;
        margin: 0 -10px;

        >div{
            margin: 0 10px;
        }
    }
}

.tenant-change-box{
    margin-bottom: 20px;
}